package com.intelligent.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 应付明细
 * @TableName payable_detail
 */
@TableName(value ="payable_detail")
@Data
public class PayableDetail implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 
     */
    private Long supplierId;

    /**
     * 
     */
    private Long purchaseOrderId;

    /**
     * 
     */
    private Long reconciliationId;

    /**
     * 
     */
    private Integer payableType;

    /**
     * 
     */
    private BigDecimal payableAmount;

    /**
     * 
     */
    private BigDecimal paidAmount;

    /**
     * 
     */
    private BigDecimal unpaidAmount;

    /**
     * 
     */
    private Date dueDate;

    /**
     * 
     */
    private Integer status;

    /**
     * 
     */
    private Integer settlementType;

    /**
     * 
     */
    private String paymentTerm;

    /**
     * 
     */
    private String remark;

    /**
     * 
     */
    private Date createTime;

    /**
     * 
     */
    private Date updateTime;

    /**
     * 
     */
    private String creator;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}